import React from 'react';
import store from './redux/store';
import {show,hidden} from './redux/actionCreator/TestActions'

const Test = () => {
    return (
        <div>
            <button onClick={()=>{
                store.dispatch(show())
            }}>显示</button>
             <button onClick={()=>{
                 store.dispatch(hidden())
            }}>隐藏</button>
        </div>
    );
}

export default Test;
